package buffbuildergui;

import java.util.ArrayList;

public class PeriodicAction extends Entity {
    @SuppressWarnings("oracle.jdeveloper.java.nested-assignment")
    public PeriodicAction() {
        super();
        ArrayList<String> temp = new ArrayList<>();
        Property p = null;
        Property q = null;
        ArrayList<Property> al = null;
        temp = new ArrayList<>();
        temp.add("\"Finite\"");
        temp.add("\"Infinite\"");
        props.add(p=new Property("actionCountType",Property.FINITE,temp,this));
            al = new ArrayList<Property>();
            p.plugs.add(al = new ArrayList<Property>());
                al.add(q=new Property("actionCount",Property.VOID,this));
                al.add(q=new Property("Level:0",Property.DOUBLE,this));
                al.add(q=new Property("Level:1",Property.DOUBLE,this));
                al.add(q=new Property("Level:2",Property.DOUBLE,this));
                al.add(q=new Property("Level:3",Property.DOUBLE,this));
            al = new ArrayList<Property>();
            p.plugs.add(al = new ArrayList<Property>());
        props.add(p=new Property("actionIntervalTime",Property.VOID,this));
        props.add(p=new Property("Level:0",Property.DOUBLE,this));
        props.add(p=new Property("Level:1",Property.DOUBLE,this));
        props.add(p=new Property("Level:2",Property.DOUBLE,this));
        props.add(p=new Property("Level:3",Property.DOUBLE,this));
        
    }
}
